﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Modelo_ETdA.Negocio.Analise.Formato
{
    public class Questao
    {
        private int codBD;
        private int escalaMin;
        private int escalaMax;
        private int minResposta;
        private float ponderacao;
        private int codConsideracao;

        public Questao(int cBD, int escMin, int escMax, int minResp, float pond, int codCons)
        {
            this.codBD = cBD;
            this.escalaMin = escMin;
            this.escalaMax = escMax;
            this.minResposta = minResp;
            this.ponderacao = pond;
            this.codConsideracao = codCons;
        }

        public Questao(int escMin, int escMax, int minResp, float pond, int codCons)
        {
            this.codBD = -1;
            this.escalaMin = escMin;
            this.escalaMax = escMax;
            this.minResposta = minResp;
            this.ponderacao = pond;
            this.codConsideracao = codCons;
        }

        public int getCod()
        {
            return codBD;
        }

        public int EscalaMin
        {
            get { return escalaMin; }
            set { escalaMin = value; }
        }

        public int EscalaMax
        {
            get { return escalaMax; }
            set { escalaMax = value; }
        }

        public int MinResposta
        {
            get { return minResposta; }
            set { minResposta = value; }
        }

        public float Ponderacao
        {
            get { return ponderacao; }
            set { ponderacao = value; }
        }

        public int CodConsideracao
        {
            get { return codConsideracao; }
            set { codConsideracao = value; }
        }

        public int CodBD
        {
            get { return codBD; }
            set { codBD = value; }
        }

    }
}
